package com.robot.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("fire_alarm")
public class FireAlarm {
    
    @TableId(type = IdType.AUTO)
    private Long id;
    
    private String company; // 分公司名称
    private Integer year;
    private Integer month;
    private Integer count; // 火警次数
    private LocalDateTime createdAt;
} 